.env-editable{
    .editable-row .editable-cell-value-wrap{
        width: 300px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.ws-select-box{
    width: 160px;
    height: 30px;
    border-radius: var(--pi-border-radius);
    //border: 1px solid #e4e4e4;
    background-color: #f5f5f5;
    font-size: 11px !important;
}

.pi-env-dropdown {
    padding: 8px;
    
    .env-list-container {
        max-height: 300px;
        overflow-y: auto;
    }
    
    .env-setting-link {
        text-align: center;
        cursor: pointer;
    }
}

.pi-env-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    .env-url {
        color: #999;
        font-size: 12px;
    }
}

.pi-env-setting-modal{
    .ant-modal-content .ant-modal-body {
        padding: 10px 0 10px 10px;
    }

    .pi-env-setting-layout {
        height: 450px;


        .env-list-sider {
            background: #fff;
            border-right: 1px solid #f0f0f0;
        }

        .env-form-content {
            padding:0 24px;
            background: #fff;
            overflow: auto;

        }
    }
}



.pi-env-list {
    .env-list-header {
        padding: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .env-list-item {
        padding: 12px 16px;
        cursor: pointer;
        height: 100%;

        &:hover {
            background: #f5f5f5;
        }

        &.selected {
            background: #f3f3f3;
        }
    }

    .add-env-item {
        padding: 5px;
        text-align: center;
        border: 1px dashed #d9d9d9;
        border-radius: 4px;
        margin-top: 8px;
        cursor: pointer;
        color: #666;
        position: absolute;
        bottom: 0;
        right: 10px;
        width: 95%
    }

    .add-env-item:hover {
        border-color: #1890ff;
        color: #1890ff;
    }
}

.pi-env-table-box{
    .ant-table-thead > tr .ant-table-cell{
        padding: 7px;
        font-size: 13px;
        font-weight: 500;
    }
    .ant-table-tbody > tr > td, .ant-table tfoot > tr > td, .ant-table tfoot > tr > th{
        padding: 2px;
        border-bottom: 1px solid var(--pi-border-color);
    }

    .ant-table table{
        border-bottom: 0;
    }


    .table-row-action-hidden{
        display: none;
    }
    .table-row-action-show{
        display: block;
    }
}

.environment-detail-container {
    //padding: 24px 0;
    // background-color: #f0f2f5;
    min-height: 100vh;

    .header-section {
    
        .breadcrumb-box {
            background: #fff;
            padding: 10px 16px;
            border-radius: 4px;
            font-size: 16px;
            // box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

            .first-item {
                cursor: pointer;
                //color: #1890ff;
                
                &:hover {
                    color: #40a9ff;
                }
            }
        }
    }


    .environment-tabs {
        .ant-tabs-nav {
            margin-bottom: 0;
            padding: 0 24px;
        }


        .tab-content {
            padding: 5px 24px;
            min-height: 400px;
        }
    }

    .ant-tabs-top > .ant-tabs-nav::before, .ant-tabs-top > div > .ant-tabs-nav::before{
        border: none;
    }
}
